﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RentAWorker.Business.DTO;
using RentAWorker.DataAccess.Entities;
using System.ServiceModel;

namespace RentAWorker.Business.Interfaces
{
    /// <summary>
    /// Allows retrieving reference data.
    /// </summary>
    /// <remarks>Required Security Roles: All</remarks>
    [ServiceContract]
    public interface IReferenceDataService
    {
        [OperationContract]
        Location[] GetLocations();
        [OperationContract]
        MachineType[] GetMachineTypes();
        [OperationContract]
        RentalServiceState[] GetRentStates();
        [OperationContract]
        string[] GetMachineStates(string prefix, int maxStates);
    }
}
